package org.cuadroanotacionapi.beans;

import java.sql.Timestamp;
import org.cuadroanotacionapi.anotaciones.Columna;
import org.cuadroanotacionapi.anotaciones.Relaciones;
import org.cuadroanotacionapi.anotaciones.Table;
import java.io.Serializable;
import org.cuadroanotacionapi.generales.Mensajeria;
/**
*
* @author avbravo
*/

@Table(nombre= "jos_fastball_importexport_logs")
public class Jos_fastball_importexport_logs  implements Serializable {
private static final long serialVersionUID = 1L;
@Columna(nombre= "id" ,isNoNulo=true, tipo ="Integer" ,tamano =10, digitosDecimales=0, comentario="", is_autoincrementable="YES", isPK=true,isImagen=false, isUrl=false)
private Integer id;
@Columna(nombre= "log_type" ,isNoNulo=true, tipo ="String" ,tamano =255, digitosDecimales=0, comentario="", is_autoincrementable="NO", isPK=false,isImagen=false, isUrl=false)
private String log_type;
@Columna(nombre= "tablename" ,isNoNulo=true, tipo ="String" ,tamano =255, digitosDecimales=0, comentario="", is_autoincrementable="NO", isPK=false,isImagen=false, isUrl=false)
private String tablename;
@Columna(nombre= "userid" ,isNoNulo=true, tipo ="Integer" ,tamano =10, digitosDecimales=0, comentario="", is_autoincrementable="NO", isPK=false,isImagen=false, isUrl=false)
private Integer userid;
@Columna(nombre= "log_datetime" ,isNoNulo=true, tipo ="Timestamp" ,tamano =19, digitosDecimales=0, comentario="", is_autoincrementable="NO", isPK=false,isImagen=false, isUrl=false)
private Timestamp log_datetime;
@Columna(nombre= "add_rows" ,isNoNulo=true, tipo ="Integer" ,tamano =10, digitosDecimales=0, comentario="", is_autoincrementable="NO", isPK=false,isImagen=false, isUrl=false)
private Integer add_rows;
@Columna(nombre= "edit_rows" ,isNoNulo=true, tipo ="Integer" ,tamano =10, digitosDecimales=0, comentario="", is_autoincrementable="NO", isPK=false,isImagen=false, isUrl=false)
private Integer edit_rows;
@Columna(nombre= "delete_rows" ,isNoNulo=true, tipo ="Integer" ,tamano =10, digitosDecimales=0, comentario="", is_autoincrementable="NO", isPK=false,isImagen=false, isUrl=false)
private Integer delete_rows;

public Jos_fastball_importexport_logs(){
}

public Jos_fastball_importexport_logs(Integer id,String log_type,String tablename,Integer userid,Timestamp log_datetime,Integer add_rows,Integer edit_rows,Integer delete_rows){
this.id = id;
this.log_type = log_type;
this.tablename = tablename;
this.userid = userid;
this.log_datetime = log_datetime;
this.add_rows = add_rows;
this.edit_rows = edit_rows;
this.delete_rows = delete_rows;
}


public void setId (Integer id) {
 this.id = id;
}

public Integer getId ( ) {
return this.id;
}

public void setLog_type (String log_type) {
 this.log_type = log_type;
}

public String getLog_type ( ) {
return this.log_type;
}

public void setTablename (String tablename) {
 this.tablename = tablename;
}

public String getTablename ( ) {
return this.tablename;
}

public void setUserid (Integer userid) {
 this.userid = userid;
}

public Integer getUserid ( ) {
return this.userid;
}

public void setLog_datetime (Timestamp log_datetime) {
 this.log_datetime = log_datetime;
}

public Timestamp getLog_datetime ( ) {
return this.log_datetime;
}

public void setAdd_rows (Integer add_rows) {
 this.add_rows = add_rows;
}

public Integer getAdd_rows ( ) {
return this.add_rows;
}

public void setEdit_rows (Integer edit_rows) {
 this.edit_rows = edit_rows;
}

public Integer getEdit_rows ( ) {
return this.edit_rows;
}

public void setDelete_rows (Integer delete_rows) {
 this.delete_rows = delete_rows;
}

public Integer getDelete_rows ( ) {
return this.delete_rows;
}




@Override
public int hashCode() {
int hash = 0;

return hash;
}


@Override
public String toString() {
return "Jos_fastball_importexport_logs{"+ "id=" + id+ ", log_type=" + log_type+ ", tablename=" + tablename+ ", userid=" + userid+ ", log_datetime=" + log_datetime+ ", add_rows=" + add_rows+ ", edit_rows=" + edit_rows+ ", delete_rows=" + delete_rows + '}';

}


}
